<?php

use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Migrations\Migration;

class AddHostStatDaily extends Migration
{
    protected $connection = 'stat';

    public function up(): void
    {
        Schema::table('stat_daily', function (Blueprint $table) {
            $table->unsignedInteger('reg_host')->default(0)->comment('新增主播数')->after('reg_female');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('stat_daily', function (Blueprint $table) {
            //
        });
    }
}
